package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteField;

import java.util.List;


@ClientMsg(title = "搜索好友 の 返回")
public class FriendSearchResp implements MsgOutput {

    @NoteField(value = "符合搜索要求的好友列表")
    public List<RoleSnapshot> list;

    public FriendSearchResp(){ }

    public FriendSearchResp(List<RoleSnapshot> list){
        this.list = list;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.SEARCH_RESP;
    }
}
